<%-- 
    Document   : Succes
    Created on : 7 déc. 2012, 14:29:14
    Author     : Vinu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"
        import="java.util.List,com.myapp.struts.Film"
        %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <jsp:useBean id="panier" scope="session" type="java.util.ArrayList"/>
 
<table>
<tr>
	<th>Nom</th>
</tr>
<%
        
	for ( int i=0; i < panier.size(); i++ )
	{
                Film film = new Film();
                film= (Film) panier.get(i);
%>
<tr>
	<td><%=film.getNom()%></td>
        <td><%=film.getPrix()%></td>
<%
	}
%>
</table>
    </body>
</html>
